package com.bailian.spring.ioc.assembly_02.selector;

import com.bailian.spring.ioc.assembly_02.bean.Bar;
import com.bailian.spring.ioc.assembly_02.config.BarConfiguration;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author gaoxu
 * date: Created on 2021/11/2 下午2:24
 */
public class BarImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{Bar.class.getName(), BarConfiguration.class.getName()};
    }
}
